projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e04f7a
)
C99-ism sneaked in.
author
robertl
<robertl>
Sun, 22 Jan 2006 18:04:16 +0000
(18:04 +0000)
committer
robertl
<robertl>
Sun, 22 Jan 2006 18:04:16 +0000
(18:04 +0000)
csv_util.c
patch
|
blob
|
history
diff --git
a/csv_util.c
b/csv_util.c
index ba3b55a832a1adb3f7aa8cbaa2c33240128bcddb..a2ef893463a80248cd53fa2daab2ddc2e92adf0a 100644
(file)
--- a/
csv_util.c
+++ b/
csv_util.c
@@
-1103,10
+1103,11
@@
xcsv_waypt_pr(const waypoint *wpt)
i = 0;
QUEUE_FOR_EACH(xcsv_file.ofield, elem, tmp) {
char *obuff;
- fmp = (field_map_t *) elem;
double lat = wpt->latitude;
double lon = wpt->longitude;
+ fmp = (field_map_t *) elem;
+
if ((i != 0) && !(fmp->options & OPTIONS_NODELIM))
fprintf (xcsv_file.xcsvfp, write_delimiter);